<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单1</title>
    <style>
        form{
            width: 1100px;
            height: 870px;
            margin: 20px auto;
            background-color: #EFEFEF;
        }
        .one{
            width: 990px;
            height:100px ;
            background-image: url(imag/img1.png);
            background-repeat: no-repeat;
            background-color:#35B695;
            margin: 0 auto;
            background-size: 550px;
            background-position:center center;
        }
        .two{
            width: 725px;
            height: 310px;
            border-style: solid;
           border-color: white;
           border-width: 10px;
            margin: 0 auto;
            margin-top: 5px;
            padding-left: 245px;
            padding-top: 220px;
            position: relative;
        }
       .happy{
        width: 825px;
        height: 50px;
        background: url(imag/img2.png),linear-gradient(to top,#d1d1d1 ,#fdfcfc );
        /*background-image: url(imag/img2.png); 
        background: linear-gradient(to top,#d1d1d1,#fdfcfc);*/
        background-repeat: no-repeat;
        background-position: 10% 55%;
        padding-left: 140px;
        padding-top: 15px;
        font-size: 30px;
        color: rgb(122, 121, 121);
        letter-spacing: 6px;
        position: absolute;
        top: -30px;
        left: 0px;
       
       }
       .three,.four,.five,.six,.seven{
            width:400px ;
            height: 33px;
            background-repeat: no-repeat;
             padding-left: 35px;
             border:2px solid cadetblue;
            }
        .three{
                background-image: url(imag/img3.png);
             }
        .four{
                background-image: url(imag/img4.png);
             }
        .five{
                background-image: url(imag/img4.png);
             }
        .six{
                background-image: url(imag/img5.png);
             }
        
        .seven{
            width: 445px;
            height: 40px;
            color: white;
          background-color: #4DB4A2;
            padding-left: 10px;
            padding-top: 5px;
            font-size: 20px;
            border:2px solid cadetblue;
        }
        .bad{
            width: 500px;
            height: 500px;
            margin: -110px auto;
            position: absolute;
            top: 190px;
            left: 250px;
        }
        input:focus{
            border-color: black;
        }
        input{
            margin: 20px auto;
        }
    </style>
</head>
<body>
    <form action="">
        <div class="one"></div>
        <div class="two">
            <p class="happy">注册新用户<p>
            <div class="bad">    
            <input type="text" class="three"placeholder="用户名" img="image/img1.png"><br>
            <input type="password" class="four" placeholder="密码"><br>
            <input type="password" class="five" placeholder="确认密码"><br>
            <input type="email" class="six"placeholder="电子邮件"><br>
            <input type="submit" class="seven"value="注册新用户"><br>
            </div>
        </div>
    </form>
</body>
</html>